package com.sskj.market.bean;

import com.contrarywind.interfaces.IPickerViewData;

import java.util.List;

/**
 * Package :com.sskj.market.bean
 * Date :2019/7/29 13:44
 * @author :budou
 * Describe :三级联动地址bean
 * Remark :
 */
public class AreaBean implements IPickerViewData {


    /**
     * name : 黑龙江
     * city : [{"name":App.INSTANCE.getString(R.string.market_areaBean1),"area":[App.INSTANCE.getString(R.string.market_areaBean2),App.INSTANCE.getString(R.string.market_areaBean3),App.INSTANCE.getString(R.string.market_areaBean4),App.INSTANCE.getString(R.string.market_areaBean5),App.INSTANCE.getString(R.string.market_areaBean6),App.INSTANCE.getString(R.string.market_areaBean7),App.INSTANCE.getString(R.string.market_areaBean8),App.INSTANCE.getString(R.string.market_areaBean9),App.INSTANCE.getString(R.string.market_areaBean10),App.INSTANCE.getString(R.string.market_areaBean11),App.INSTANCE.getString(R.string.market_areaBean12),App.INSTANCE.getString(R.string.market_areaBean13),App.INSTANCE.getString(R.string.market_areaBean14),App.INSTANCE.getString(R.string.market_areaBean15),App.INSTANCE.getString(R.string.market_areaBean16),App.INSTANCE.getString(R.string.market_areaBean17),App.INSTANCE.getString(R.string.market_areaBean18),App.INSTANCE.getString(R.string.market_areaBean19),App.INSTANCE.getString(R.string.market_areaBean20)]},{"name":App.INSTANCE.getString(R.string.market_areaBean21),"area":[App.INSTANCE.getString(R.string.market_areaBean22),App.INSTANCE.getString(R.string.market_areaBean23),App.INSTANCE.getString(R.string.market_areaBean24),App.INSTANCE.getString(R.string.market_areaBean25),App.INSTANCE.getString(R.string.market_areaBean26),App.INSTANCE.getString(R.string.market_areaBean27),App.INSTANCE.getString(R.string.market_areaBean28),App.INSTANCE.getString(R.string.market_areaBean29),App.INSTANCE.getString(R.string.market_areaBean30),App.INSTANCE.getString(R.string.market_areaBean31),App.INSTANCE.getString(R.string.market_areaBean32),App.INSTANCE.getString(R.string.market_areaBean33),App.INSTANCE.getString(R.string.market_areaBean34),App.INSTANCE.getString(R.string.market_areaBean35),App.INSTANCE.getString(R.string.market_areaBean36),App.INSTANCE.getString(R.string.market_areaBean37),App.INSTANCE.getString(R.string.market_areaBean20)]},{"name":App.INSTANCE.getString(R.string.market_areaBean38),"area":[App.INSTANCE.getString(R.string.market_areaBean39),App.INSTANCE.getString(R.string.market_areaBean40),App.INSTANCE.getString(R.string.market_areaBean41),App.INSTANCE.getString(R.string.market_areaBean42),App.INSTANCE.getString(R.string.market_areaBean43),App.INSTANCE.getString(R.string.market_areaBean44),App.INSTANCE.getString(R.string.market_areaBean45),App.INSTANCE.getString(R.string.market_areaBean46),App.INSTANCE.getString(R.string.market_areaBean20)]},{"name":App.INSTANCE.getString(R.string.market_areaBean47),"area":[App.INSTANCE.getString(R.string.market_areaBean48),App.INSTANCE.getString(R.string.market_areaBean49),App.INSTANCE.getString(R.string.market_areaBean50),App.INSTANCE.getString(R.string.market_areaBean51),App.INSTANCE.getString(R.string.market_areaBean52),App.INSTANCE.getString(R.string.market_areaBean53),App.INSTANCE.getString(R.string.market_areaBean54),App.INSTANCE.getString(R.string.market_areaBean55),App.INSTANCE.getString(R.string.market_areaBean20)]},{"name":App.INSTANCE.getString(R.string.market_areaBean56),"area":[App.INSTANCE.getString(R.string.market_areaBean57),App.INSTANCE.getString(R.string.market_areaBean58),App.INSTANCE.getString(R.string.market_areaBean59),App.INSTANCE.getString(R.string.market_areaBean60),App.INSTANCE.getString(R.string.market_areaBean61),App.INSTANCE.getString(R.string.market_areaBean62),App.INSTANCE.getString(R.string.market_areaBean63),App.INSTANCE.getString(R.string.market_areaBean64),App.INSTANCE.getString(R.string.market_areaBean65),App.INSTANCE.getString(R.string.market_areaBean20)]},{"name":App.INSTANCE.getString(R.string.market_areaBean66),"area":[App.INSTANCE.getString(R.string.market_areaBean67),App.INSTANCE.getString(R.string.market_areaBean68),App.INSTANCE.getString(R.string.market_areaBean69),App.INSTANCE.getString(R.string.market_areaBean70),App.INSTANCE.getString(R.string.market_areaBean71),App.INSTANCE.getString(R.string.market_areaBean72),App.INSTANCE.getString(R.string.market_areaBean73),App.INSTANCE.getString(R.string.market_areaBean74),App.INSTANCE.getString(R.string.market_areaBean75),App.INSTANCE.getString(R.string.market_areaBean20)]},{"name":App.INSTANCE.getString(R.string.market_areaBean76),"area":[App.INSTANCE.getString(R.string.market_areaBean77),App.INSTANCE.getString(R.string.market_areaBean78),App.INSTANCE.getString(R.string.market_areaBean79),App.INSTANCE.getString(R.string.market_areaBean80),App.INSTANCE.getString(R.string.market_areaBean81),App.INSTANCE.getString(R.string.market_areaBean82),App.INSTANCE.getString(R.string.market_areaBean83),App.INSTANCE.getString(R.string.market_areaBean84),App.INSTANCE.getString(R.string.market_areaBean85),App.INSTANCE.getString(R.string.market_areaBean86),App.INSTANCE.getString(R.string.market_areaBean87),App.INSTANCE.getString(R.string.market_areaBean88),App.INSTANCE.getString(R.string.market_areaBean89),App.INSTANCE.getString(R.string.market_areaBean90),App.INSTANCE.getString(R.string.market_areaBean91),App.INSTANCE.getString(R.string.market_areaBean92),App.INSTANCE.getString(R.string.market_areaBean93),App.INSTANCE.getString(R.string.market_areaBean20)]},{"name":App.INSTANCE.getString(R.string.market_areaBean94),"area":[App.INSTANCE.getString(R.string.market_areaBean95),App.INSTANCE.getString(R.string.market_areaBean96),App.INSTANCE.getString(R.string.market_areaBean97),App.INSTANCE.getString(R.string.market_areaBean98),App.INSTANCE.getString(R.string.market_areaBean99),App.INSTANCE.getString(R.string.market_areaBean100),App.INSTANCE.getString(R.string.market_areaBean101),App.INSTANCE.getString(R.string.market_areaBean102),App.INSTANCE.getString(R.string.market_areaBean103),App.INSTANCE.getString(R.string.market_areaBean104),App.INSTANCE.getString(R.string.market_areaBean20)]},{"name":App.INSTANCE.getString(R.string.market_areaBean105),"area":[App.INSTANCE.getString(R.string.market_areaBean43),App.INSTANCE.getString(R.string.market_areaBean106),App.INSTANCE.getString(R.string.market_areaBean107),App.INSTANCE.getString(R.string.market_areaBean108),App.INSTANCE.getString(R.string.market_areaBean109),App.INSTANCE.getString(R.string.market_areaBean110),App.INSTANCE.getString(R.string.market_areaBean111),App.INSTANCE.getString(R.string.market_areaBean112),App.INSTANCE.getString(R.string.market_areaBean113),App.INSTANCE.getString(R.string.market_areaBean114),App.INSTANCE.getString(R.string.market_areaBean20)]},{"name":App.INSTANCE.getString(R.string.market_areaBean115),"area":[App.INSTANCE.getString(R.string.market_areaBean116),App.INSTANCE.getString(R.string.market_areaBean117),App.INSTANCE.getString(R.string.market_areaBean118),App.INSTANCE.getString(R.string.market_areaBean119),App.INSTANCE.getString(R.string.market_areaBean20)]},{"name":App.INSTANCE.getString(R.string.market_areaBean120),"area":[App.INSTANCE.getString(R.string.market_areaBean121),App.INSTANCE.getString(R.string.market_areaBean122),App.INSTANCE.getString(R.string.market_areaBean123),App.INSTANCE.getString(R.string.market_areaBean124),App.INSTANCE.getString(R.string.market_areaBean125),App.INSTANCE.getString(R.string.market_areaBean126),App.INSTANCE.getString(R.string.market_areaBean20)]},{"name":App.INSTANCE.getString(R.string.market_areaBean127),"area":[App.INSTANCE.getString(R.string.market_areaBean128),App.INSTANCE.getString(R.string.market_areaBean129),App.INSTANCE.getString(R.string.market_areaBean130),App.INSTANCE.getString(R.string.market_areaBean131),App.INSTANCE.getString(R.string.market_areaBean132),App.INSTANCE.getString(R.string.market_areaBean133),App.INSTANCE.getString(R.string.market_areaBean134),App.INSTANCE.getString(R.string.market_areaBean135),App.INSTANCE.getString(R.string.market_areaBean136),App.INSTANCE.getString(R.string.market_areaBean137),App.INSTANCE.getString(R.string.market_areaBean20)]},{"name":App.INSTANCE.getString(R.string.market_areaBean138),"area":[App.INSTANCE.getString(R.string.market_areaBean139),App.INSTANCE.getString(R.string.market_areaBean140),App.INSTANCE.getString(R.string.market_areaBean141),App.INSTANCE.getString(R.string.market_areaBean142),App.INSTANCE.getString(R.string.market_areaBean20)]}]
     */

    private String name;
    private List<CityBean> city;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<CityBean> getCity() {
        return city;
    }

    public void setCity(List<CityBean> city) {
        this.city = city;
    }

    @Override
    public String toString() {
        return "AreaBean{" +
                "name='" + name + '\'' +
                ", city=" + city +
                '}';
    }

    @Override
    public String getPickerViewText() {
        return name;
    }

    public static class CityBean {
        /**
         * name : 哈尔滨市
         * area : [App.INSTANCE.getString(R.string.market_areaBean2),App.INSTANCE.getString(R.string.market_areaBean3),App.INSTANCE.getString(R.string.market_areaBean4),App.INSTANCE.getString(R.string.market_areaBean5),App.INSTANCE.getString(R.string.market_areaBean6),App.INSTANCE.getString(R.string.market_areaBean7),App.INSTANCE.getString(R.string.market_areaBean8),App.INSTANCE.getString(R.string.market_areaBean9),App.INSTANCE.getString(R.string.market_areaBean10),App.INSTANCE.getString(R.string.market_areaBean11),App.INSTANCE.getString(R.string.market_areaBean12),App.INSTANCE.getString(R.string.market_areaBean13),App.INSTANCE.getString(R.string.market_areaBean14),App.INSTANCE.getString(R.string.market_areaBean15),App.INSTANCE.getString(R.string.market_areaBean16),App.INSTANCE.getString(R.string.market_areaBean17),App.INSTANCE.getString(R.string.market_areaBean18),App.INSTANCE.getString(R.string.market_areaBean19),App.INSTANCE.getString(R.string.market_areaBean20)]
         */

        private String name;
        private List<String> area;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<String> getArea() {
            return area;
        }

        public void setArea(List<String> area) {
            this.area = area;
        }

        @Override
        public String toString() {
            return "CityBean{" +
                    "name='" + name + '\'' +
                    ", area=" + area +
                    '}';
        }
    }
}
